package cn.com.sina.finance.todolist.view;

import androidx.annotation.StringDef;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

/**
 * 自定义注解，用于标注参数取值范围
 */
@StringDef({MainTabId.TODO_LIST, MainTabId.ADD_TODO, MainTabId.USER})
@Retention(RetentionPolicy.SOURCE)
public @interface MainTabId {

    String TODO_LIST = "todoList";
    String ADD_TODO = "addTodo";
    String USER = "mine";
}
